//
//  AttachmentPhotoCell.h
//  Estate
//
//  Created by wangdongdong on 16/8/17.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Tweet.h"

@interface AttachmentPhotoCell : UITableViewCell<UICollectionViewDataSource, UICollectionViewDelegate>


@property (strong, nonatomic) Tweet *curTweet;
//能否编辑
@property (assign, nonatomic) BOOL isEdit;

@property (copy, nonatomic) void(^addPicturesBlock)();

@property (copy, nonatomic) void (^deleteTweetImageBlock)(TweetImage *toDelete);

@property (copy, nonatomic) void (^deleteTweetImageBlockUrl)(TweetImage *toDelete,NSString *str);

+ (CGFloat)cellHeightWithObj:(id)obj;

//是否不现实删除按钮 （巡检带入整改前附件 不显示删除）
@property (assign, nonatomic) BOOL isDEL;
//巡检带入的附件不能编辑 根据file来
@property(strong, nonatomic)NSMutableArray *fileArray;

@end
